﻿using PwjCy.Lite.EntityLite;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace PwjCy.Lite.Storage
{
    /// <summary>
    /// 已经预编译过接口
    /// </summary>
    public interface IPreparedStatement : IStatement
    {
        void ClearParameter();
        object GetParameterValue(string key);
        void SetParameter(string key, object val);
        void SetParameter(string key, object val, DbType type, int len);
        void SetParameter(string key, object val, DbType type, int len, ParameterDirection direction);
        void SetParameterValue(int index, object val);

        void SetParameter(IPwjCyObject pwjcyObject);
    }
}
